POST
/
1
/
crawlers
/
{id}
/
tasks
/
{taskID}
/
cancel
curl --request POST \
  --url https://crawler.algolia.com/api/1/crawlers/{id}/tasks/{taskID}/cancel \
  --header 'Authorization: Basic <encoded-value>'
This response does not have an example.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

Crawler ID.

Example:

"e0f6db8a-24f5-4092-83a4-1b2c6cb6d809"

taskID
string
required

Task ID.

Example:

"98458796-b7bb-4703-8b1b-785c1080b110"

Response

200

OK